# 1、利用正则表达式判断字符串是否全部小写字母。
# import re
# string = input()
# if re.fullmatch(r'[a-z]+',string):
#     print('True')
# else:
#     print('False')

# 2、写出程序的运行结果。
# c='123'+'456'+'789'
# print("c=", c)
# print("c[-3]=", c[-3])
# print("c[-3:]=",c[-3:])
# print("c[-3:]*2=", c[-3:]*2)
# c += c[-3:]*2
# print("C+=c[-3:]*2=",c)
# 3、利用正则表达式判断字符串是否只有小写字母或数字。
# import re
# string = input()
# if re.fullmatch(r'[a-z]+[0-9]+',string):
#     print('True')
# else:
#     print('False')




# str_="jjtfi"
# print(str_.center(10,"*"))      #居中对齐
# print(str_.ljust(10,"*"))       #左对齐
# print(str_.rjust(10,"*"))       #右对齐

# content = '''
# 张三，手机号码15945678901
# 李四，手机号码13945677701
# 王二，手机号码13845666901
# '''
# import re
# p = re.compile(r'\d{11}')
# for one in p.findall(content):
#     print(one)


with open(r'C:\Users\l1530\PycharmProjects\pythonProject2\GUI设计\user.txt','r',encoding='utf8') as f:
    name=input()
    key =input()
    if f'用户名：{name},密码：{key}\n' in f.readlines():
        print('hauwbjk')












